package itsm.isperp.module.repository.knowledge;

import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.module.entity.knowledge.KngMyfavorite;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

/// <summary>
/// 描述:kng_myfavorite
/// 创建者:zhouhg
/// 创建时间:2013/6/26
/// </summary>

@Repository
public interface KngMyfavoriteMapper extends CUDMapper<KngMyfavorite> {

	/**
	 * 根据登录帐号获取其搜藏的知识
	 * 
	 * @param loginUserAccount
	 *            登录帐号
	 * @return List<Map> 搜藏的知识列表
	 */
	public List<Map<String, Object>> getMyfavoriteItem(String loginUserAccount);

}
